import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'front__navigation_bar_page_logic.dart';

class FrontNavigationBarPage extends StatefulWidget {
  const FrontNavigationBarPage({Key? key}) : super(key: key);

  @override
  State<FrontNavigationBarPage> createState() => _FrontNavigationBarPageState();
}

class _FrontNavigationBarPageState extends State<FrontNavigationBarPage> {


  @override
  Widget build(BuildContext context) {

   return GetBuilder<FrontNavigationBarPageLogic>(
      init: FrontNavigationBarPageLogic(),
      builder: (frontNavigationBarController){
        return Scaffold(
            body:frontNavigationBarController.pages[frontNavigationBarController.selectedIndex],
        bottomNavigationBar: frontNavigationBarController.BottomBar(),
        );
      },
    );

  }
}



